package com.justgame.project.service.art.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.justgame.project.cloud.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
*
* 文章类型表
*
* @tableName art_page_type
* @author Zwb
*/
@Data
@TableName("art_page_type")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="ArtPageType对象", description="文章类型表")
public class ArtPageType extends BaseEntity {
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 别名
     */
    @ApiModelProperty(value = "别名")
    private String otherName;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String description;

    /**
     * 图片
     */
    @ApiModelProperty(value = "图片")
    private String imageUrl;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private Status status;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 状态 枚举值
     */
    public enum Status{
        /**
         * 启用
         */
        ENABLE,
        /**
         * 禁用
         */
        DISABLE
    }

}
